* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #00abe45d 0%, #00abe4 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00abe4;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo::before {
  content: "📸";
  margin-right: 0.5rem;
}

.nav-desktop {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-desktop a:hover {
  color: #00abe4;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin: 10px 20px;
  padding: 1rem;
  min-width: 150px;
}

.nav-mobile a {
  display: block;
  padding: 0.5rem;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-mobile a:hover {
  background: #f0f0f0;
}

/* Ad Space */
.ad-banner {
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  padding: 1rem;
  text-align: center;
  margin: 1rem 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Main Game */
.game-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.game-header {
  text-align: center;
  margin-bottom: 2rem;
}

.game-title {
  font-size: 2.5rem;
  color: #00abe4;
  margin-bottom: 0.5rem;
}

.game-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.game-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00abe4;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

.image-container {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.game-image {
  margin-top: 20px;
  width: 100%;
  max-width: 600px;
  height: 400px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.game-image.zoomed {
  transform: scale(1.5);
  cursor: zoom-out;
}

.image-caption {
  background: transparent;
  color: transparent;
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.slider-container {
  margin: 2rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.slider-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.year-display {
  font-size: 2rem;
  font-weight: bold;
  color: #00abe4;
  text-align: center;
  margin-bottom: 1rem;
}

.slider-wrapper {
  position: relative;
  margin: 2rem 0;
}

.year-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #ddd;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.year-slider::-webkit-slider-thumb {
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #00abe4;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.year-slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #00abe4;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.timeline-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 1rem;
  color: #616161;
}

.timeline-mark {
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.timeline-mark:hover {
  background: #00abe4;
  color: white;
}

.game-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px; /* opcional para espaçamento */
}

.btn {
  background: #00abe4;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn:hover {
  background: #5cb3fa;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(102, 126, 234, 0.4);
}

.btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.result-container {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1rem 0;
  text-align: center;
}

.result-message {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.result-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.result-item {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.result-item-label {
  font-size: 0.9rem;
  color: #666;
}

.result-item-value {
  font-size: 1.2rem;
  font-weight: bold;
  color: #00abe4;
}

.ad-side {
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  width: 300px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem;
}

.final-screen {
  display: none;
  text-align: center;
  padding: 2rem;
}

.final-title {
  font-size: 2.5rem;
  color: #00abe4;
  margin-bottom: 1rem;
}

.final-score {
  font-size: 3rem;
  font-weight: bold;
  color: #28a745;
  margin: 1rem 0;
}

.final-message {
  font-size: 1.3rem;
  margin: 1rem 0;
  color: #666;
}

.final-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.final-stat {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.final-stat-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00abe4;
}

.final-stat-label {
  font-size: 1rem;
  color: #666;
}

/* Footer */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00abe4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-mobile.active {
    display: block;
  }

  .game-container {
    padding: 1rem;
    margin: 1rem auto;
  }

  .game-title {
    font-size: 2rem;
  }

  .game-stats {
    gap: 1rem;
  }

  .game-image {
    height: 300px;
  }

  .result-details {
    grid-template-columns: 1fr;
  }

  .final-stats {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .ad-side {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .game-title {
    font-size: 1.5rem;
  }
  .logo {
    font-size: 1.5rem;
  }


  .year-display {
    font-size: 1.5rem;
  }

  .timeline-marks {
    font-size: 0.7rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}
